namespace Brjnk.Common
{
    using System;
    using System.Windows.Input;

    /// <summary>
    /// </summary>
    public class RunCommand : ICommand
    {
        public bool CanExecute(object parameter)
        {
            return true;
        }

        public event EventHandler CanExecuteChanged;

        public void Execute(object parameter)
        {
            System.Diagnostics.Process.Start(parameter.ToString());
        }
    }
}